package com.tust.app.domain;

public class Topic {
    private Integer id;

    private String title;

    private String pubtime;

    private String detail;

    private String edituser;

    private Integer state;

    public Topic() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPubtime() {
        return pubtime;
    }

    public void setPubtime(String pubtime) {
        this.pubtime = pubtime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getEdituser() {
        return edituser;
    }

    public void setEdituser(String edituser) {
        this.edituser = edituser;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "TTopic{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", pubtime='" + pubtime + '\'' +
                ", detail='" + detail + '\'' +
                ", edituser='" + edituser + '\'' +
                ", state=" + state +
                '}';
    }
}